package fangwewnxiushifu;
public class S {
    public String name_public="name_public";// 公开的
    private String name_private="name_private";// 私有的
    String name_default="name_default"; //不写 默认的
    protected String name_protected="name_protected";// 受保护的


    public void show(){
        System.out.println(name_public);
        System.out.println(name_private);
        System.out.println(name_default);
        System.out.println(name_protected);
    }

}
